﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard;
using Rework.CommerceHistory.Models;
using Orchard.Environment.Extensions;

namespace Rework.CommerceHistory.Services {
    public interface ICommerceHistory : IDependency {
        IEnumerable<CommerceHistoryPart> GetProducts(int userId);
        void AddProducts(IEnumerable<CommerceHistoryPart> commerceHistoryParts);
        void AddProduct(CommerceHistoryPart commerceHistoryPart);
    }
}